Method GetDescendantsCountAsync<T>(IRedbObject, ITreeProvider, int?)
Gets count of all object descendants
public static Task<int> GetDescendantsCountAsync<T>(this IRedbObject obj, ITreeProvider treeProvider, int? maxDepth = null) where T : class, new()